javascript one off event listener

40

javascript one off event listener -

EventTarget.addEventListener("click", function() {
    // Do something
}, {once : true});

Comments

Submit
0 Comments